{if isset($pager)}
	{if $pager->getPages() > 1}
	<div class="pages fl mt5">
	  {if $pager->getPage() > 1}
	      <a href="{$pager->link($pager->prev())}" class="prev"><span>prev</span></a>
	  {/if}
  
		{foreach $pager->getPagesArray(10) as $val}
		  {if $pager->getPage() == $val}
		    {$val}
		  {else}
		  <a href="{$pager->link($val)}">{$val}</a>
		  {/if}
		{/foreach}
	
	  {if $pager->getPage() < $pager->getPages()}
	      <a href="{$pager->link($pager->next())}" class="next"><span>next</span></a>
	  {/if}
	</div>
	{/if}
{/if}